package com.igl.talk.android.client.core.model;

/*
 * @author Filip Jerzyna
 *
 * 26/03/2014
 *
 * All rights reserved.
 */

public class UserModel {

    private String name;

    public UserModel(String name) {
        this.name = name;
    }

    @Override
    public boolean equals(Object o) {
        if (o instanceof UserModel) {
            UserModel tmp = (UserModel) o;
            if (tmp.getName().equals(this.name)) {
                return true;
            }
        }
        return false;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
